package com.youhome.service.service;

import com.github.pagehelper.PageInfo;
import com.youhome.common.exception.CustomException;
import com.youhome.service.model.BShareLog;
import com.youhome.service.model.DateItem;

import java.util.List;

/**
 * Created by chen365 on 2017/11/3.
 */
public interface BShareLogService {

    int create(BShareLog log);

    PageInfo<BShareLog> selectByShareId(Integer page, Integer pageSize, String shareId) throws CustomException;

    List<DateItem> selectLast30DayDateItemByShareId(String uuid) throws CustomException;

}